---消除护盾(id:6)
---@class BuffEffect53 : BaseBuffEffect
BuffEffect53 = ClientFight.CreateClass("BuffEffect53", ClientFight.BaseBuffEffect)
local t = BuffEffect53
---@param fight Fight
---@param buff FighterBuff
function t:action(fight, buff, ...)
    local target = buff.target;
    local existingBuffs = BuffManager.getBuffsByEffect(target, BuffEffect6.EffectType);
    for i, existingBuff in pairsByKeys(existingBuffs) do
        BuffManager.removeFighterBuff(fight, target, existingBuff, true);
    end
    existingBuffs = BuffManager.getBuffsByEffect(target, BuffEffect66.EffectType);
    for i, existingBuff in pairsByKeys(existingBuffs) do
        existingBuff.pool.setCurrent(0, existingBuff);
        local commandInfo = ReportManager.buffToJsonString(fight, existingBuff, 3);
        table.insert(fight.actions, commandInfo);
        FightManager.playActions(commandInfo)

    end
    return ClientFight.BaseBuffEffect.action(self, fight, buff, parameters);
end

t.New()